cc.Class({
    extends: cc.Component,

    properties: {
        spKuang:cc.Node,
        txtTitle:cc.Label,
    },

    onLoad () {
    },

    setTitleContent(title){
        this.txtTitle.string = title;

        var self = this;
        this.scheduleOnce(()=>{
            removeNodeByParent(self.node);
        },4)
    },
});
